<template>
  <div>
    <lg-header :titleType="1" title="购买项目次数"></lg-header>
    <div class="fixed-top">
      <h1 class="tc mt-30 surplus">当前剩余次数：100次</h1>
      <div class="con-pd">
        <div class="gray">购买次数</div>
        <div class="d-flex f-align mt-20">
          <div class="fs-18 mr-10">购买项目次数：</div>
          <div class="flex__item">
            <van-stepper v-model="value" />
          </div>
          <span class="fs-18">1次/200元</span>
        </div>
        <div class="fs-20 mt-30">需要支付:200元</div>
        <pay-mode class="mt-60"></pay-mode>
        <div class="mt-30 pl-30 pr-30">
          <van-button block type="primary">确定</van-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { Stepper,Button } from "vant";
import payMode from "@/components/payMode";
export default {
  components: {
    [Stepper.name]: Stepper,
    [Button.name]: Button,
    payMode
  },
  data() {
    return {
      value: 1
    };
  }
};
</script>

<style scoped lang="scss">
.surplus {
  font-size: 26px;
}
.con-pd {
  padding: 40px 15px 0;
}
.mt-60{
    margin-top: 60px;
}
</style>
